//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15:45 d1
//- rw - rw - r-- 1 cxq cxq 1420 Jun  9 16 : 47 d1.zip
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//drwxrwxr - x 3 cxq cxq 4096 Jun  9 16 : 57 test
//[cxq@VM - 4 - 10 - centos lesson4]$ rm d1.zip - rf
//[cxq@VM - 4 - 10 - centos lesson4]$ ll
//total 12
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15 : 45 d1
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//drwxrwxr - x 3 cxq cxq 4096 Jun  9 16 : 57 test
//[cxq@VM - 4 - 10 - centos lesson4]$ rm test - rf
//[cxq@VM - 4 - 10 - centos lesson4]$ ll
//total 8
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15 : 45 d1
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ tree .
//.
//| --d1
//|   |--d2
//|   |   |--d3
//|   |   |--file4.txt
//|   |   `- - file5.txt
//|   |--file1.txt
//|   |--file2.txt
//| `- - file3.txt
//`- - log.txt
//
//3 directories, 6 files
//[cxq@VM - 4 - 10 - centos lesson4]$ tar czf code.tgz d1 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ l
//- bash: l: command not found
//[cxq@VM - 4 - 10 - centos lesson4]$ ll
//total 12
//- rw - rw - r-- 1 cxq cxq  327 Jun  9 19 : 06 code.tgz
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15 : 45 d1
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ rm code.tgz - rf
//[cxq@VM - 4 - 10 - centos lesson4]$ ll
//total 12
//- rw - rw - r-- 1 cxq cxq  327 Jun  9 19 : 06 code.tgz
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15 : 45 d1
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ rm code.tgz - rf
//[cxq@VM - 4 - 10 - centos lesson4]$ ll
//total 8
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15 : 45 d1
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ tar czf code.tgz d1 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ ll
//total 12
//- rw - rw - r-- 1 cxq cxq  327 Jun  9 19 : 07 code.tgz
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15 : 45 d1
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ tar tzf code.tgz d1 log.txt
//d1 /
//d1 / d2 /
//d1 / d2 / file4.txt
//d1 / d2 / file5.txt
//d1 / d2 / d3 /
//d1 / file2.txt
//d1 / file1.txt
//d1 / file3.txt
//log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ ll
//total 12
//- rw - rw - r-- 1 cxq cxq  327 Jun  9 19:07 code.tgz
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15 : 45 d1
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ rm d1 log.txt - rf
//[cxq@VM - 4 - 10 - centos lesson4]$ ll
//total 4
//- rw - rw - r-- 1 cxq cxq 327 Jun  9 19 : 07 code.tgz
//[cxq@VM - 4 - 10 - centos lesson4]$ tar xzf code.tgz
//[cxq@VM - 4 - 10 - centos lesson4]$ ll
//total 12
//- rw - rw - r-- 1 cxq cxq  327 Jun  9 19 : 07 code.tgz
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15 : 45 d1
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ tree d1
//d1
//| --d2
//|   |--d3
//|   |--file4.txt
//| `- - file5.txt
//| --file1.txt
//| --file2.txt
//`- - file3.txt
//
//2 directories, 5 files
//[cxq@VM - 4 - 10 - centos lesson4]$ ll
//total 12
//- rw - rw - r-- 1 cxq cxq  327 Jun  9 19:07 code.tgz
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15 : 45 d1
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ rm - rf code.tgz
//[cxq@VM - 4 - 10 - centos lesson4]$ ll
//total 8
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15 : 45 d1
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ tar czf code.tgz d1 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ ll
//total 12
//- rw - rw - r-- 1 cxq cxq  327 Jun  9 19 : 36 code.tgz
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15 : 45 d1
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ tar tzf code.tgz d1 log.txt
//d1 /
//d1 / d2 /
//d1 / d2 / file4.txt
//d1 / d2 / file5.txt
//d1 / d2 / d3 /
//d1 / file2.txt
//d1 / file1.txt
//d1 / file3.txt
//log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ ll
//total 12
//- rw - rw - r-- 1 cxq cxq  327 Jun  9 19:36 code.tgz
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15 : 45 d1
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ tar   xzf  code.tgz - C ..
//[cxq@VM - 4 - 10 - centos lesson4]$ ll
//total 12
//- rw - rw - r-- 1 cxq cxq  327 Jun  9 19 : 36 code.tgz
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15 : 45 d1
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ cd ..
//[cxq@VM - 4 - 10 - centos 108]$ ll
//total 16
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15 : 45 d1
//- rw - rw - r-- 1 cxq cxq 1225 Jun  9 16 : 26 d1.zip
//drwxrwxr - x 3 cxq cxq 4096 Jun  9 19 : 36 lesson4
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//[cxq@VM - 4 - 10 - centos 108]$ tree d1
//d1
//| --d2
//|   |--d3
//|   |--file4.txt
//| `- - file5.txt
//| --file1.txt
//| --file2.txt
//`- - file3.txt
//
//2 directories, 5 files
//[cxq@VM - 4 - 10 - centos 108]$ cat log.txt
//int main()
//{
//	prinf("hello Linux ");
//	return 0;
//}
//[cxq@VM - 4 - 10 - centos 108]$ ll
//total 16
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15:45 d1
//- rw - rw - r-- 1 cxq cxq 1225 Jun  9 16 : 26 d1.zip
//drwxrwxr - x 3 cxq cxq 4096 Jun  9 19 : 36 lesson4
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//[cxq@VM - 4 - 10 - centos 108]$ rm log.txt d1 - rf
//[cxq@VM - 4 - 10 - centos 108]$ ll
//total 8
//- rw - rw - r-- 1 cxq cxq 1225 Jun  9 16 : 26 d1.zip
//drwxrwxr - x 3 cxq cxq 4096 Jun  9 19 : 36 lesson4
//[cxq@VM - 4 - 10 - centos 108]$ cd lesson4
//[cxq@VM - 4 - 10 - centos lesson4]$ ll
//total 12
//- rw - rw - r-- 1 cxq cxq  327 Jun  9 19 : 36 code.tgz
//drwxrwxr - x 3 cxq cxq 4096 Jun  8 15 : 45 d1
//- rw - rw - r-- 1 cxq cxq   53 Jun  9 16 : 22 log.txt
//[cxq@VM - 4 - 10 - centos lesson4]$ bc
//bc 1.06.95
//Copyright 1991 - 1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc.
//This is free software with ABSOLUTELY NO WARRANTY.
//For details type `warranty'.
//3 + 7
//10
//quit
//[cxq@VM - 4 - 10 - centos lesson4]$ echo "1+2+3" | bc
//6
//[cxq@VM - 4 - 10 - centos lesson4]$ uname - r
//3.10.0 - 1160.71.1.el7.x86_64
//[cxq@VM - 4 - 10 - centos lesson4]$ uname - a
//Linux VM - 4 - 10 - centos 3.10.0 - 1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37 : 28 UTC 2022 x86_64 x86_64 x86_64 GNU / Linux
//[cxq@VM - 4 - 10 - centos lesson4]$ df - h
//Filesystem      Size  Used Avail Use % Mounted on
//devtmpfs        989M     0  989M   0 % / dev
//tmpfs          1000M   24K 1000M   1 % / dev / shm
//tmpfs          1000M  484K  999M   1 % / run
//tmpfs          1000M     0 1000M   0 % / sys / fs / cgroup
/// dev / vda1        50G  4.6G   43G  10 % /
//tmpfs           200M     0  200M   0 % / run / user / 1002
//[cxq@VM - 4 - 10 - centos lesson4]$ lscpu
//Architecture : x86_64
//CPU op - mode(s) : 32 - bit, 64 - bit
//Byte Order : Little Endian
//CPU(s) : 2
//On - line CPU(s) list : 0, 1
//Thread(s) per core : 1
//Core(s) per socket : 2
//Socket(s) : 1
//NUMA node(s) : 1
//Vendor ID : GenuineIntel
//CPU family : 6
//Model : 94
//Model name : Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz
//Stepping : 3
//CPU MHz : 2399.998
//BogoMIPS : 4799.99
//Hypervisor vendor : KVM
//Virtualization type : full
//L1d cache : 32K
//L1i cache : 32K
//L2 cache : 4096K
//L3 cache : 28160K
//NUMA node0 CPU(s) : 0, 1
//Flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 arat
//[cxq@VM - 4 - 10 - centos lesson4]$
